Automattic\WooCommerce\EmailEditor\Engine\Theme_Controller S

Total Complexity 39
Dependencies 5
Dependents 7
Total lines 308
Lines of code 154
Logical lines of code 105
Comment lines 115
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
get_stylesheet_for_rendering()
A
40 12 58
recursive_replace_presets()
S
61 4 12
recursive_extract_preset_variables()
S
60 4 12
get_variables_values_map()
S
62 3 11
translate_slug_to_font_size()
S
65 3 9
translate_slug_to_color()
S
63 3 10
get_styles()
S
62 2 11
get_settings()
S
65 2 9
get_stylesheet_from_context()
S
77 2 3
__construct()
S
71 1 5
get_theme()
S
73 1 5
get_base_theme()
S
70 1 6
get_layout_settings()
S
80 1 3